package com.git.service.impl;

import com.git.bean.Street;
import com.git.mapper.StreetMapper;
import com.git.service.StreetService;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author 金振宇
 * @describe
 */
@Service
@Component
public class StreetServiceImpl implements StreetService {

    @Autowired
    private StreetMapper streetMapper;

    @Override
    public List<Street> selectStreetById(Integer districtId) {
        return streetMapper.selectStreetById(districtId);
    }
}
